package com.zeng.springbootmultiprofiletest.springbootmultiprofiletest.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author zeng
 * @version 1.0.0
 * @date 2020-10-18
 */
@Data
@Component
@ConfigurationProperties(prefix = "app")
public class ConfigTest {

    private String defaultName;
    private String commonName;

    private String devName1;
    private String devName2;

    private String prodName1;
    private String prodName2;

    private Boolean flag;
}
